package com.example.wanandroid.core.utils;

import static android.os.Build.VERSION_CODES.LOLLIPOP;
import static android.os.Build.VERSION_CODES.M;

import android.app.Activity;
import android.content.Context;
import android.os.Build;
import android.view.View;
import android.view.WindowManager;

import com.example.wanandroid.R;

/**
 * @author Mi
 */
public class StatusBarUtils {
    public static void setStatusBar(Activity activity){

        activity.getWindow().setStatusBarColor(activity.getResources().getColor(R.color.main_status_bar_blue));
        
    }
}
